import type { RouteConfigsTable } from "/#/index";
import { $t } from "/@/plugins/i18n";

const productInfoRouter: RouteConfigsTable = {
  path: "/productInfo",
  redirect: "/productInfo/index",
  meta: {
    icon: "check",
    title: $t("menus.hsproductInfo"),
    rank: 6
  },
  children: [
    {
      path: "/productInfo/index",
      name: "ProductInfoIndex",
      component: () => import("/@/views/productInfo/index.vue"),
      meta: {
        title: $t("menus.hsproductInfo"),
        roles: ["admin", "super", "warehouse", "user"]
      }
    }
  ]
};

export default productInfoRouter;
